package com.jiangjiang.eshop.commodity.convert;

import com.jiangjiang.eshop.commodity.domain.PropertyGroupRelationshipEntity;
import com.jiangjiang.eshop.commodity.dto.PropertyGroupRelationshipDTO;
import org.mapstruct.Mapper;

import java.util.List;

/**
 * @ClassName PropertyGroupRelationshipConvert
 * @Description TODO
 * @Author jhw
 * @Date 2021/6/20 16:28
 * @Version 1.0
 **/
@Mapper(componentModel = "spring")
public interface PropertyGroupRelationshipConvert {
    List<PropertyGroupRelationshipEntity> convertDTOList2Entities(List<PropertyGroupRelationshipDTO> relationshipDTOList);

    List<PropertyGroupRelationshipDTO> convertEntities2DTOList(List<PropertyGroupRelationshipEntity> entities);
}
